package net.seabook.games.tetris.model;

import java.util.Random;

public enum PieceEnum {
	I, LL, LZ, T, Full, RZ, RL;
	
	public static PieceEnum randomPickUp() {
		PieceEnum[] pieces = PieceEnum.values();
		Random random = new Random();
		int i = random.nextInt(pieces.length);
		return pieces[i];
	}
}
